package uitleg;

public class DamageFunction {
	public static double CalculateDamage(Unit unit)
	{
		switch (unit) {
		case wizzard:
			return 10;
		case barbarian:
			return 20;
		case monster:
			return 5;
		}
		return -1;
	}
}
